package com.soc.erp.index;

import org.nature.framework.annotation.Ask;
import org.nature.framework.annotation.Ctrl;
import org.nature.framework.core.NatureCtrl;

@Ctrl(namespace = "/")
public class TurnToIndexCtrl extends NatureCtrl {
	
	//登录入口 -路由
	private static final long serialVersionUID = 1L;
	
	@Ask(url="/")
	public Object company_login() {
		//return "/WEB-INF/view/_frag/welcome.ftl";
		//return "/WEB-INF/view/_frag/welcome.ftl";
		//System.out.println("wclcome");
		return "/WEB-INF/view/index/company-login.ftl";
	}
	
	
	@Ask(url="/admin")
	public Object welcome() {

		return "/WEB-INF/view/index/login.ftl";
	}
	
}
